Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add to the PKIX name: Country, State/Province, Locality, Street Addre… #3785

Closed
wants to merge 1 commit into from

Conversation

mparaz
Copy link

@mparaz mparaz commented Jan 14, 2018

I started to use the Vault PKI Secret backend to generate certs and found that it didn't support the Country, State/Province and Locality fields.

I added those, and thought of adding Street Address and Postal Code as well since they are supported by the Go crypto.x509.pkix.Name.

Fixes #3777

},

"province": &framework.FieldSchema{
Type: framework.TypeString,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use TypeCommaStringSlice and store the values as []string.

"street_address": &framework.FieldSchema{
Type: framework.TypeString,
Default: "",
Description: `If set, the streetAddress will be set to
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't CamelCase streetAddress/postalCode.

@jefferai jefferai added this to the 0.9.3 milestone Jan 18, 2018
@jefferai jefferai modified the milestones: 0.9.3, 0.9.4 Jan 28, 2018
@jefferai jefferai modified the milestones: 0.9.4, 0.10 Feb 15, 2018
@jefferai
Copy link
Member

Obsoleted by #3992, thanks though!

@jefferai jefferai closed this Feb 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants